home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / bbsutil / pbnet17.zip / FDO.BAT < prev    next >
DOS Batch File  |  1994-05-29  |  1KB  |  77 lines

  1. set gszwindow=24
  2. set bbspath=f:\PB
  3. set mspath=f:\PB\messages
  4. set node=1
  5. set FD=F:\FD
  6. f:
  7. bnu.com
  8. bnu.com  /I0+ /L0:38400  /F+ /C /Z
  9.  
  10. IF "%1"=="ABLOAD" GOTO BBS
  11.  
  12. f:\dv\dvansi
  13.  
  14. cd \pb
  15.  
  16. if exist DOOR.BAT del DOOR.BAT
  17. if exist pbdoor.1 del pbdoor.1
  18. if exist h-d.bat del h-d.bat
  19. if exist indr1.* del indr1.*
  20. if exist automail.1 del automail.1
  21. if exist bbslist1 del bbslist1
  22. if exist nother1.dat del nother1.dat
  23.  
  24. :keepgoing
  25.  
  26. cd \fd
  27. cls
  28. fd /nounpack
  29.  
  30. :CONT
  31. if errorlevel 200 set speed=19200
  32. if errorlevel 199 set speed=14400
  33. if errorlevel 198 set speed=12000
  34. if errorlevel 197 set speed=9600
  35. if errorlevel 196 set speed=2400
  36. if errorlevel 195 set speed=1200
  37. if errorlevel 194 set speed=300
  38. if errorlevel 193 set speed=LOCAL
  39. if errorlevel 193 goto BBS
  40. if errorlevel 100 goto importmail
  41. if errorlevel 90  goto exportmail
  42. if errorlevel 80  goto maint
  43. goto quit
  44.  
  45. :BBS
  46. bnu.com /u
  47. cd\PB
  48. pboard /n%NODE% /b%SPEED%
  49. if errorlevel 80 goto Quit
  50. cd\fd
  51. fdo.bat
  52.  
  53. :importmail
  54. c:
  55. cd \fd\inout
  56. call mailin.bat
  57. goto reload
  58.  
  59. :exportmail
  60. c:
  61. cd \fd\inout
  62. call mailout.bat
  63. goto reload
  64.  
  65. :maint
  66. f:
  67. cd \pb
  68. call main.bat
  69. goto reload
  70.  
  71. :reload
  72. cd \fd
  73. fdo.bat
  74.  
  75. :Quit
  76.  
  77.